//
//  KYCalendarCellItem.h
//  KuaiyanCalendar
//
//  Created by 罗新 on 2017/10/18.
//  Copyright © 2017年 KuaiYan  Co.,LTD. All rights reserved.
//

#import <Foundation/Foundation.h>
typedef NS_ENUM(NSInteger, CalendarIconType) {
    CoinDisable,//默认从0开始,未签到
    CoinEnable,
    TreasureBoxDisable,
    TreasureBoxEnable,
};
@interface KYCalendarCellItem : NSObject <NSCoding>
/**
 图标类型
 */
@property (nonatomic, assign) CalendarIconType iconType;

/**
 连续签到天数
 */
@property (nonatomic, assign) NSInteger continuityTime;

/**
 是否高亮状态(当前月高亮)
 */
@property (nonatomic, assign) BOOL highLight;

/**
 年
 */
@property (nonatomic, assign) NSInteger year;

/**
 月
 */
@property (nonatomic, assign) NSInteger month;

/**
 日
 */
@property (nonatomic, assign) NSInteger day;

+ (instancetype)calendarCellItemWithIconType:(CalendarIconType)type isHighLight:(BOOL)highLight year:(NSInteger)year month:(NSInteger)month day:(NSInteger)day continuityTime:(NSInteger)continutyTime;

+ (BOOL)checkInCurrentDay;
+ (instancetype)currentDayCacheModel;
@end
